#ifndef SHOWFINDUPDATEMSH_H                                                                                                             /** MSH on S1 **/
#define SHOWFINDUPDATEMSH_H                                                                                                             /** MSH on S1 **/

#include <vector>                                                                                                                       /** MSH on S1 **/
#include "Category.h"                                                                                                                   /** MSH on S1 **/
#include "Product.h"                                                                                                                    /** MSH on S1 **/
#include "Cart_item.h"                                                                                                                  /** MSH on S1 **/

class ShowFindUpdateMSH {                                                                                                               /** MSH on S1 **/
    public:                                                                                                                             /** MSH on S1 **/
        static void show (vector < Category > cats, vector < Product > prds);                                                           /** MSH on S1 **/
        static void find (int prdID, vector < Product > prds, vector < Cart_item > cartItems);                                          /** MSH on S1 **/
        static void update (int prdID, int catID, string prdName, double prdPrice, vector < Category > cats, vector < Product > &prds); /** MSH on S1 **/
    protected:                                                                                                                          /** MSH on S1 **/
    private:                                                                                                                            /** MSH on S1 **/
        static bool cmpCat (Category cat1, Category cat2);                                                                              /** MSH on S1 **/
        static void find (Product prd, vector < Cart_item > cartItems);                                                                 /** MSH on S1 **/
};                                                                                                                                      /** MSH on S1 **/

#endif // SHOWFINDUPDATEMSH_H                                                                                                           /** MSH on S1 **/
